package model.monde;

public class Vivant
{
	/* Attributs */
	private int dexterity;
	private int endurance;
	private int life;
	private int lifeMax;
	private String name;
	private int strengh;

	/* Constructeurs */

	public Vivant(String name) {
		this.name = name;
	}

	public Vivant(String name, int life, int strengh, int endurance,
			int dexterity)
	{
		this.name = name;
		this.life = life;
		this.lifeMax = life;
		this.strengh = strengh;
		this.endurance = endurance;
		this.dexterity = dexterity;
	}

	/* Getters / Setters */

	public int getDexterity()
	{
		return this.dexterity;
	}

	public int getEndurance()
	{
		return this.endurance;
	}

	public int getLife()
	{
		return this.life;
	}
	
	public int getLifeMax()
	{
		return this.lifeMax;
	}

	public String getName()
	{
		return this.name;
	}

	public int getStrengh()
	{
		return this.strengh;
	}

	public void setDexterity(int dexterity)
	{
		this.dexterity = dexterity;
	}

	public void setEndurance(int endurance)
	{
		this.endurance = endurance;
	}

	public void setLife(int life)
	{
		this.life = life;
	}
	
	public void setLifeMax(int life)
	{
		this.lifeMax = life;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public void setStrengh(int strengh)
	{
		this.strengh = strengh;
	}
	
	public String toString(){
		return this.name;
	}
}
